<?php
class M_ACL_Access extends MVC_Model_Base implements ACL_Access_Interface {


    private $arGuestAccess = array(
        'Athorization',
        'Html'
    );

    public function isAllowed($strController, $strMethod, $arParams) {
        if (in_array($strController, $this->arGuestAccess)) {
            return true;
        }

        /* @var $objUser M_ACL_User */
        $objUser = $this->getModel('ACL_User');
        if ($objUser->getPrivilege() == 'developer') {
            return true;
        }

        return false;
    }

}